﻿namespace WMS6.Web.LoginServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections.Generic;
    using System.ServiceModel;

    [GeneratedCode("System.ServiceModel", "3.0.0.0"), ServiceContract(Namespace="WMS6.Services", ConfigurationName="LoginServiceRef.ILoginService")]
    public interface ILoginService
    {
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ILoginService/CheckIsVendorExistFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ILoginService/CheckIsVendorExist", ReplyAction="WMS6.Services/ILoginService/CheckIsVendorExistResponse")]
        string CheckIsVendorExist(string userID, string type, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ILoginService/GetALLGlobalSetting", ReplyAction="WMS6.Services/ILoginService/GetALLGlobalSettingResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ILoginService/GetALLGlobalSettingFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<GlobalSettingInfo> GetALLGlobalSetting();
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ILoginService/GetPreferenceProfileByUserIDFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ILoginService/GetPreferenceProfileByUserID", ReplyAction="WMS6.Services/ILoginService/GetPreferenceProfileByUserIDResponse")]
        PreferenceProfileInfo GetPreferenceProfileByUserID(string userID);
        [OperationContract(Action="WMS6.Services/ILoginService/GetUserInfoByID", ReplyAction="WMS6.Services/ILoginService/GetUserInfoByIDResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ILoginService/GetUserInfoByIDFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        UserMstInfo GetUserInfoByID(string userID);
        [OperationContract(Action="WMS6.Services/ILoginService/InsertSysLoginLogInfo", ReplyAction="WMS6.Services/ILoginService/InsertSysLoginLogInfoResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ILoginService/InsertSysLoginLogInfoFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        void InsertSysLoginLogInfo(SysLoginLogInfo sysLoginLogInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ILoginService/InsertUserPreferenceFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ILoginService/InsertUserPreference", ReplyAction="WMS6.Services/ILoginService/InsertUserPreferenceResponse")]
        string InsertUserPreference(PreferenceProfileInfo preferencePrifile);
        [OperationContract(Action="WMS6.Services/ILoginService/UpdateGlobalSetting", ReplyAction="WMS6.Services/ILoginService/UpdateGlobalSettingResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ILoginService/UpdateGlobalSettingFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        string UpdateGlobalSetting(GlobalSettingInfo globalSettingInfo);
    }
}

